package com.hznu.jspFinal.dao;

import com.hznu.jspFinal.entity.CourseStudent;

import java.util.List;

public interface CourseStudentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CourseStudent record);

    int insertSelective(CourseStudent record);

    CourseStudent selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CourseStudent record);

    int updateByPrimaryKey(CourseStudent record);

    List<CourseStudent> selectByCourseTeacherid(Integer id);

    List<CourseStudent> selectByStudentid(Integer studentid);
}